package cn.gs.global.common.meta;

// @author gs
import cn.gs.exchanger.ExchangerException;

public interface IOgnServer {

    int[] create(String... name) throws ExchangerException;

    void delete(int... id) throws ExchangerException;

    boolean[] isDeleted(int... id) throws ExchangerException;

    String[] names(int... id) throws ExchangerException;

    int[] search(String sch) throws ExchangerException;

    void setName(int id, String name) throws ExchangerException;

    double[] getObjChg(int ognId, int objId) throws ExchangerException;

    double[] keepObj(int ognId, int... objId) throws ExchangerException;

    boolean addObj(int ognId, int objId, double num) throws ExchangerException;

    OgnSnapshot[] snapshot(int month, int... ids) throws ExchangerException;
}
